home *** CD-ROM | disk | FTP | other *** search
- # CyberGate Login.cmd
- #
- # This is a login.cmd script for Winsock ver 2.0 b. using PPP
- #
- #
- # initialize modem
- #
- output at&c1\13
- input 10 OK\n
- #
- # send phone number
- #
- output atdt5949020\13
- #
- # now we are connected.
- #
- input 35 CONNECT
- #
- # wait till it's safe to send because some modem's hang up
- # if you transmit during the connection phase
- #
- # wait 35 dcd
- #
- #
- input 30 Username:
- #
- # username Enter your username
- # INSERT YOUR USER-ID IN PLACE OF ????
- output ?????\13
- #
- # and the password
- #
- input 30 Password:
- # password Enter your password
- # INSERT YOUR PASSWORD IN PLACE OF THE ??????
- output ??????\13
- #
- # we are now logged in
- #
- # wait for the address string
- #
- # we are now connected, logged in and in PPP mode.
-
-